package com.adbj.statictest;

/**
 * static关键字修饰类
 *
 * 用static修饰内部类
 */
public class StaticTest {

   /* StaticTest(){
        System.out.println("StaticTest");
    }*/
  /*  public static class InnerClass {
        InnerClass(){
            System.out.println("静态内部类");
        }
        public void innerMethod(){
            System.out.println("静态内部方法");
        }
    }*/

    /*public static void main(String[] args) {
        InnerClass inner=new InnerClass();
        inner.innerMethod();

        A a=A.getAA();

    }*/

    public void say(){
        System.out.println("say");
    }
}
